home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11144 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  720 b 

  1. Path: tank.news.pipex.net!pipex!warwick!bham!bhamcs!calvin!mxt
  2. From: M.J.Thomsit-CSSE93@cs.bham.ac.uk (Mark J Thomsit)
  3. Newsgroups: comp.lang.c++
  4. Subject: ifstream problems
  5. Date: 12 Mar 1996 19:47:06 GMT
  6. Organization: School of Computer Science, The University of Birmingham, U.K.
  7. Sender: mxt@calvin (Mark J Thomsit)
  8. Message-ID: <4i4kbq$h1s@percy.cs.bham.ac.uk>
  9. NNTP-Posting-Host: calvin.cs.bham.ac.uk
  10.  
  11. I have overloaded ifstream and ofstream to write out and read in the data members
  12. of my own class. When however I try to read in what I just wrote out nothing is
  13. properly read into the class, although when I read in from a file created by hand
  14. by myself it works fine. Does anyone know why this might be,
  15.  
  16. Thanks Mark
  17.